import { RouteRecordRaw } from 'vue-router';

const commonRouter: Array<RouteRecordRaw> = [
    {
        path: '/classify',
        name: 'classify',
        component: () => import('@/views/module-admin/classify/List.vue'),
        meta: {
            showMenu: true,
            title: '分类管理'
        }
    },
    {
        path: '/goods',
        name: 'goods',
        component: () => import('@/views/module-admin/goods/List.vue'),
        meta: {
            showMenu: true,
            title: '商品管理'
        }
    },
    {
        path: '/member',
        name: 'member',
        component: () => import('@/views/module-admin/member/List.vue'),
        meta: {
            showMenu: true,
            title: '会员管理'
        }
    },
    {
        path: '/order',
        name: 'order',
        component: () => import('@/views/module-admin/order/List.vue'),
        meta: {
            showMenu: true,
            title: '订单管理'
        }
    },
]

export default commonRouter;